package com.firebird.app.fekpsl.mvp.sword.friend

import com.firebird.app.fekpsl.base.BasePresenter
import com.firebird.app.fekpsl.ext.ss
import com.firebird.app.fekpsl.mvp.common.CommonPresenter
import com.firebird.fekpsl.mvp.model.FollowMeModel

/**
 * Created by firebird on 2018/4/21.
 */
class FollowMePresenter : BasePresenter<FollowMeContract.Model, FollowMeContract.View>(), FollowMeContract.Presenter {

    override fun createModel(): FollowMeContract.Model? = FollowMeModel()

    override fun getFollowMeList(pageNo:Int,userUuid:String) {
        mModel?.getFollowMeList(pageNo ,userUuid )?.ss(mModel, mView) {
            mView?.showFollowMeList(it.data)
        }
    }
}